// 全部
const ALL = -1;
const APP_PROXY = 2;

//缓存名
const CACHE_TOKEN = 'pc-proxy-token';
const CACHE_UID = 'pc-proxy-uid';
const CACHE_USERNAME = 'pc-proxy-name';
const CACHE_CLOSE_TODAY_NOTICE = 'pc-close-today-notice';
const CACHE_CLOSE_TODAY_DIALOG = 'pc-close-today-dialog';

//手机短信验证码倒计时
const COUNT_DOWN_TIME = 60;



//电子游戏子类型-1全部，1电动老虎机，2经典老虎机，3刮刮乐，4棋牌游戏，5街机游戏

const DIGITAL_TYPE = [
  {
    title: '全部游戏',
    value: 0,
  },
  {
    title: '电动老虎机',
    value: 1,
  },
  {
    title: '经典老虎机',
    value: 2,
  },
  {
    title: '刮刮乐',
    value: 3,
  },
  {
    title: '棋牌游戏',
    value: 4,
  },
  {
    title: '街机游戏',
    value: 5,
  },
];

//银行id
// 1 招商银行
// 2 工商银行
// 3 建设银行
// 4 农业银行
// 5 中国银行
// 6 交通银行
// 7 广发银行
// 8 光大银行
// 9 浦发银行
// 10 民生银行
// 11 平安银行
// 12 兴业银行
// 13 中信银行
// 14 邮政银行
// 15 华夏银行

const BANK_ZHAOSHANG = 1;
const BANK_GONGSHANG = 2;
const BANK_JIANSHE = 3;
const BANK_NONGYE = 4;
const BANK_ZHONGGUO = 5;
const BANK_JIAOTONG = 6;
const BANK_GUANGFA = 7;
const BANK_GUANGDA = 8;
const BANK_PUFA = 9;
const BANK_MINSHENG = 10;
const BANK_PINGAN = 11;
const BANK_XINGYE = 12;
const BANK_ZHONGXIN = 13;
const BANK_YOUZHENG = 14;
const BANK_HUAXIA = 15;

const BANK_LIST = [
  {
    title: '招商银行',
    name: 'zhaoshang',
    value: BANK_ZHAOSHANG,
    pic: require('@/assets/banks/zhaoshang-small.png'),
  },
  {
    title: '工商银行',
    name: 'gongshang',
    value: BANK_GONGSHANG,
    pic: require('@/assets/banks/gongshang-small.png'),
  },
  {
    title: '建设银行',
    name: 'jianshe',
    value: BANK_JIANSHE,
    pic: require('@/assets/banks/jianshe-small.png'),
  },
  {
    title: '农业银行',
    name: 'nongye',
    value: BANK_NONGYE,
    pic: require('@/assets/banks/nongye-small.png'),
  },
  {
    title: '中国银行',
    name: 'zhongguo',
    value: BANK_ZHONGGUO,
    pic: require('@/assets/banks/zhongguo-small.png'),
  },
  {
    title: '交通银行',
    name: 'jiaotong',
    value: BANK_JIAOTONG,
    pic: require('@/assets/banks/jiaotong-small.png'),
  },
  {
    title: '广发银行',
    name: 'guangfa',
    value: BANK_GUANGFA,
    pic: require('@/assets/banks/guangfa-small.png'),
  },
  {
    title: '光大银行',
    name: 'guangda',
    value: BANK_GUANGDA,
    pic: require('@/assets/banks/guangda-small.png'),
  },
  {
    title: '浦发银行',
    name: 'pufa',
    value: BANK_PUFA,
    pic: require('@/assets/banks/pufa-small.png'),
  },
  {
    title: '民生银行',
    name: 'minsheng',
    value: BANK_MINSHENG,
    pic: require('@/assets/banks/minsheng-small.png'),
  },
  {
    title: '平安银行',
    name: 'pingan',
    value: BANK_PINGAN,
    pic: require('@/assets/banks/minsheng-small.png'),
  },
  {
    title: '兴业银行',
    name: 'xingye',
    value: BANK_XINGYE,
    pic: require('@/assets/banks/xinye-small.png'),
  },
  {
    title: '中信银行',
    name: 'zhongxin',
    value: BANK_ZHONGXIN,
    pic: require('@/assets/banks/zhongxin-small.png'),
  },
  {
    title: '邮政银行',
    name: 'youzheng',
    value: BANK_YOUZHENG,
    pic: require('@/assets/banks/youzheng-small.png'),
  },
  {
    title: '华夏银行',
    name: 'huaxia',
    value: BANK_HUAXIA,
    pic: require('@/assets/banks/huaxia-small.png'),
  },
];

const NOTICE_CHARGE = 1;
const NOTICE_WITHDRAW = 2;

const TRADE_TYPE = [
  {
    title: '全部',
    value: ALL,
  },
  {
    title: '提现',
    value: 2,
  },
  {
    title: '红利',
    value: 4,
  },
  {
    title: '佣金',
    value: 9,
  },
  {
    title: '提现退回',
    value: 6,
  },
  {
    title: '加币',
    value: 14,
  },
  {
    title: '其他',
    value: 10,
  },
  {
    title: '上分清算-账户余额清算',
    value: 15,
  }
];

//-1全部，0处理中，1成功，2失败

const TRADE_STATUS_SUCCESS = 1;
const TRADE_STATUS_FAILURE = 2;
const TRADE_STATUS_PROCESSING = 0;

const TRADE_STATUS = [
  {
    title: '全部',
    value: ALL
  },
  {
    title: '成功',
    value: TRADE_STATUS_SUCCESS,
    label: 'check',
    type: 'primary',
  },
  {
    title: '失败',
    value: TRADE_STATUS_FAILURE,
    label: 'close',
    type: 'danger',
  },
  {
    title: '处理中',
    value: TRADE_STATUS_PROCESSING,
    label: 'processing',
    type: 'warning',
  },
  {
    title: '处理中',
    value: -3,
    label: 'processing',
    type: 'warning',
  },
];

const RECHARGE_STATUS = [
  {
    title: '成功',
    value: 1,
    label: 'check',
    type: 'primary',
  },
  {
    title: '失败',
    value: 2,
    label: 'close',
    type: 'danger',
  },
  {
    title: '处理中',
    value: 0,
    label: 'processing',
    type: 'warning',
  },
  {
    title: '其他',
    value: -1,
    label: 'processing',
    type: 'warning',
  },
];



const WITHDRAW_AUDIT = -3; //风险待审核

const WITHDRAW_SUCCESS_PENDING = 6; // 申请强制成功中
const WITHDRAW_PROCESSING = 0; // 风险审核通过，待出款
const WITHDRAWN_RETURN_REQUEST = 3; // 申请退回
const WITHDRAWN_WAIT = 7; //待处理

const WITHDRAWN_SUCCESS = 1; // 已出款/提现成功
const WITHDRAWN_FORCE_SUCCESS = 8; //已经强制成功

const WITHDRAW_AUDIT_REJECT = -2; //风险审核拒绝
const WITHDRAW_REJECT = 5; //不处理，资金不退回
const WITHDRAW_RETURN = 4; //拒绝提现，资金已退回
const WITHDRAWN_FAILED = 2; // 拒绝出款/提现失败
const WITHDRAWN_FORCE_FAILURE = 9; //拒绝强制成功
const WITHDRAW_THIRD_PARTY_PENDING = 10; //第三方出款中

const WITHDRAWN_STATUS=[
  {title: '风险待审核', value: WITHDRAW_AUDIT},
  {title: '申请强制成功中', value: WITHDRAW_SUCCESS_PENDING},
  {title: '待出款', value: WITHDRAW_PROCESSING},
  {title: '申请退回', value: WITHDRAWN_RETURN_REQUEST},
  {title: '待处理', value: WITHDRAWN_WAIT},
  {title: '提现成功', value: WITHDRAWN_SUCCESS},
  {title: '已经强制成功', value: WITHDRAWN_FORCE_SUCCESS},
  {title: '风险审核拒绝', value: WITHDRAW_AUDIT_REJECT},
  {title: '拒绝处理', value: WITHDRAW_REJECT},
  {title: '拒绝提现', value: WITHDRAW_RETURN},
  {title: '提现失败', value: WITHDRAWN_FAILED},
  {title: '拒绝强制成功', value: WITHDRAWN_FORCE_FAILURE},
];

//风控审核
const WITHDRAW_STATUS_AUDIT_ING = [
  WITHDRAW_AUDIT
];

//出款中
const WITHDRAW_STATUS_PAYMENT_OUT_ING = [
  WITHDRAW_SUCCESS_PENDING,
  WITHDRAW_PROCESSING,
  WITHDRAWN_WAIT,
  WITHDRAWN_RETURN_REQUEST,
  WITHDRAW_THIRD_PARTY_PENDING,
];

//出款成功
const WITHDRAW_STATUS_SUCCESS = [
  WITHDRAWN_SUCCESS,
  WITHDRAWN_FORCE_SUCCESS,
];
//出款失败
const WITHDRAW_STATUS_FAILURE = [
  WITHDRAW_AUDIT_REJECT,
  WITHDRAW_REJECT,
  WITHDRAW_RETURN,
  WITHDRAWN_FAILED,
  WITHDRAWN_FORCE_FAILURE,
];

// WITHDRAWN_SUCCESS(1), // 已出款/提现成功
//   SUCCESS_PENDING(6), // 申请强制成功中
//
//   失败：
// RISK_REFUSE(-2), // 风险审核拒绝
//   WITHDRAWN_FAILED(2), // 拒绝出款/提现失败
//   RETURN_REQUEST(3), // 申请退回
//   RETURN(4), // 拒绝提现，资金已退回
//   IGNORE(5), // 不处理，资金不退回
//
//   处理中：
// RISK_PENDING(-3), // 风险待审核
//   PENDING(0), // 风险审核通过，待出款
//
//   其他：
// UNKNOWN(-1);

const WITHDRAW_STATUS = [
  {
    title: '成功',
    value: 1,
    label: 'check',
    type: 'primary',
  },
  {
    title: '成功',
    value: 6,
    label: 'check',
    type: 'primary',
  },
  {
    title: '失败',
    value: -2,
    label: 'close',
    type: 'danger',
  },
  {
    title: '失败',
    value: 2,
    label: 'close',
    type: 'danger',
  },
  {
    title: '失败',
    value: 3,
    label: 'close',
    type: 'danger',
  },
  {
    title: '失败',
    value: 4,
    label: 'close',
    type: 'danger',
  },
  {
    title: '失败',
    value: 5,
    label: 'close',
    type: 'danger',
  },
  {
    title: '处理中',
    value: -3,
    label: 'processing',
    type: 'warning',
  },
  {
    title: '处理中',
    value: 0,
    label: 'processing',
    type: 'warning',
  },
  {
    title: '其他',
    value: -1,
    label: 'processing',
    type: 'warning',
  },
];

const WITHDRAW_TYPE = [
  {
    title: '自动出款',
    value: 1,
  },
  {
    title: '人工出款',
    value: 0,
  },
  {
    title: '其他',
    value: -1,
  },
];

//0未结算，1已结算，2已取消
const BET_STATUS = [
  {
    title: '未结算',
    value: 0,
    label: 'processing',
    type: 'warning',
  },
  {
    title: '已结算',
    value: 1,
    label: 'check',
    type: 'primary',
  },
  {
    title: '已取消',
    value: 2,
    label: 'close',
    type: 'danger',
  },
];

const TODAY = 1;
const YESTERDAY = 2;
const THIS_WEEK = 3;
const LAST_WEEK = 4;
const THIS_MONTH = 5;
const LAST_MONTH = 6;

const TIME_PERIOD = [
  {
    title: '今天',
    value: TODAY,
    start: [0, 'day'],
    end: [0, 'day'],
  },
  {
    title: '昨天',
    value: YESTERDAY,
    start: [-1, 'day'],
    end: [-1, 'day'],
  },
  {
    title: '本周',
    value: THIS_WEEK,
    start: [0, 'week'],
    end: [0, 'week'],
  },
  {
    title: '上周',
    value: LAST_WEEK,
    start: [-1, 'week'],
    end: [-1, 'week'],
  },
  {
    title: '本月',
    value: THIS_MONTH,
    start: [0, 'month'],
    end: [0, 'day'],
  },
  {
    title: '上月',
    value: LAST_MONTH,
    start: [-1, 'month'],
    end: [-1, 'month'],
  },
];

//提现保护：0保护，1不保护，2资金锁定

const WITHDRAW_PROTECT_OPEN = 0;
const WITHDRAW_PROTECT_CLOSE = 1;


//验证码类别
//mobile_bind绑定手机，mobile_unbind解绑手机，card_del删除银行卡，card_bind绑定银行卡，set_pass修改密码，cash_security提现安全，login_security登录安全，cash提现
const CODE_LOGIN = 'mobile_login';
const CODE_MOBILE_BIND = 'mobile_bind';
const CODE_MOBILE_UNBIND = 'mobile_unbind';
const CODE_CARD_DEL = 'card_del';
const CODE_CARD_BIND = 'card_bind';
const CODE_SET_PASS = 'set_pass';
const CODE_CASH_SECURITY = 'cash_security';
const CODE_LOGIN_SECURITY = 'login_security';
const CODE_CASH = 'cash';
const CODE_EMAIL_BIND = 'email_bind';
const CODE_EMAIL_UNBIND = 'email_unbind';

//安全定制
const SECURITY_WITHDARW = 0;
const SECURITY_LOGIN = 1;
const SECURITY_OPEN = 0;
const SECURITY_CLOSE = 1;

//性别
const SEX = [
  {
    title: '男',
    value: 1,
  },
  {
    title: '女',
    value: 2,
  }
];


//游戏维护状态
const MAINTAIN_STATUS_OPEN = 0;
const MAINTAIN_STATUS_CLOSED = 1;
const MAINTAIN_STATUS_MAINTAINING = 2;

const MAINTAIN_STATUS = [
  {
    title: '正常',
    value: MAINTAIN_STATUS_OPEN,
  },
  {
    title: '关闭中',
    value: MAINTAIN_STATUS_CLOSED,
  },
  {
    title: '维护中',
    value: MAINTAIN_STATUS_MAINTAINING,
  }
];

//活动类型：-1全部，0真人活动,1体育活动，2彩票活动，3电子活动（老虎机），4街机游戏,，101返水活动

const ACTIVITY_TODAY = -1;

const ACTIVITY_REAL = 1;
const ACTIVITY_SPORT = 2;
const ACTIVITY_TICKET = 0;
const ACTIVITY_DIGITAL = 3;
const ACTIVITY_ARCAEDE = 101;

const ACTIVITY_TYPE = [
  {
    title: '真人优惠',
    value: ACTIVITY_REAL
  },
  {
    title: '体育优惠',
    value: ACTIVITY_SPORT
  },
  {
    title: '彩票优惠',
    value: ACTIVITY_TICKET
  },
  {
    title: '电子游戏优惠',
    value: ACTIVITY_DIGITAL
  },
  {
    title: '返水优惠',
    value: ACTIVITY_ARCAEDE
  },
];

//活动未开始
const ACTIVITY_PENDING = 0;
//活动进行中
const ACTIVITY_PROCESSING = 1;
//活动已完成
const ACTIVITY_FINISH = 2;

//公告阅读
const ANNOUNCEMENT_UNREAD = 0;
const ANNOUNCEMENT_READ = 1;

//首页弹窗类型
const DIALOG_NORMAL = 0;
const DIALOG_BANK_CHANGE = 1;

//弹窗大小
const DIALOG_SIZE_NORMAL = '5.1rem';
const DIALOG_SIZE_MEDIUM = '6.25rem';
const DIALOG_SIZE_TRANSFER = '9rem';
const DIALOG_SIZE_LARGE = '10rem';

//1 首页-banner 2 真人落地页-banner 3 彩票落地页-banner 4 老虎机-落地页-banner 5 捕鱼落地页-banner 6 优惠活动落地页-banner 7 充值页优惠图
const AD_HOME = 1;
const AD_REAL = 2;
const AD_TICKET = 3;
const AD_DIGITAL = 4;
const AD_FISH = 5;
const AD_ACTIVITY = 6;
const AD_FINANCE = 7;


//=======================
//从后台转移来的常量

const CLIENT_TYPE = [
  {
    title: 'PC',
    value: 0
  },
  {
    title: 'IOS',
    value: 1
  },
  {
    title: '安卓',
    value: 2
  },
  {
    title: 'H5',
    value: 3
  },
];

const DEVICE_TYPE = [
  {title: '全部', value: ALL},
  {title: 'PC', value: 1},
  {title: 'IOS', value: 2},
  {title: '安卓', value: 3},
  {title: 'H5', value: 4},
];

const PAYMENT_STATUS = [
  {title: '全部', value: ALL},
  {title: '支付成功', value: 1},
  {title: '支付失败', value: 2},
  {title: '支付中', value: 3},
];

const PAYEE_BANKS = [
  {title: '工商银行', value: 1},
  {title: '招生银行', value: 2},
  {title: '农业银行', value: 3},
  {title: '建设银行', value: 4},
  {title: '中国银行', value: 5},
  {title: '交通银行', value: 6},
  {title: '广发银行', value: 7},
  {title: '光大银行', value: 8},
  {title: '浦发银行', value: 9},
  {title: '民生银行', value: 10},
  {title: '平安银行', value: 11},
  {title: '兴业银行', value: 12},
  {title: '中信银行', value: 13},
  {title: '邮政银行', value: 14},
  {title: '华夏银行', value: 15},
  {title: '支付宝二维码', value: 16},
];

// 充值名称显示

const PAY_WANGYIN = 1; // 网银支付
const PAY_ZHIFUBAO = 2; // 支付宝支付
const PAY_WEIXIN = 3; // 微信支付
const PAY_QQ = 4; // QQ支付
const PAY_SCAN_WANGYIN = 5; // 银联扫码
const PAY_JD_PAY = 6; // 京东支付
const PAY_BANKCARD_ZHUANZ = 7; // 银行卡转账
const PAY_ZHIFUBAO_ZHUANZ = 8; // 支付宝转账
const PAY_WEIXIN_ZHUANZ = 9; // 微信转账
const PAY_SCAN_PAY = 12; // 扫码支付
const PAY_QQ_SCAN_PAY = 13; // QQ扫码支付
const PAY_CREDIT_CARD = 22; // 信用卡支付
const PAY_QUICK_PAY = 24; // 快捷支付
const PAY_CLOUD_FLASH = 25; // 云闪付




const PAYMENT_LIST = [
  {
    title: '网银支付',
    value: PAY_WANGYIN,
    pic: require('@/assets/payments/wangyin.png'),
  },
  {
    title: '银联扫码',
    value: PAY_SCAN_WANGYIN,
    pic: require('@/assets/payments/bankscan.png'),
  },
  {
    title: '支付宝',
    value: PAY_ZHIFUBAO,
    pic: require('@/assets/payments/alipay.png'),
  },
  {
    title: '微信支付',
    value: PAY_WEIXIN,
    pic: require('@/assets/payments/wechat.png'),
  },
  {
    title: '信用卡支付',
    value: PAY_CREDIT_CARD,
    pic: require('@/assets/payments/visa.png'),
  },
  {
    title: '快捷支付',
    value: PAY_QUICK_PAY,
    pic: require('@/assets/payments/kuaijie.png'),
  },
  {
    title: '扫码支付',
    value: PAY_SCAN_PAY,
    pic: require('@/assets/payments/scan.png'),
  },
  {
    title: 'QQ扫码支付',
    value: PAY_QQ_SCAN_PAY,
    pic: require('@/assets/payments/qqScan.png'),
  },
  {
    title: '支付宝转账',
    value: PAY_ZHIFUBAO_ZHUANZ,
    pic: require('@/assets/payments/aliTransfer.png'),
  },
  {
    title: '银行卡转账',
    value: PAY_BANKCARD_ZHUANZ,
    pic: require('@/assets/payments/bankTrans.png'),
  },
  {
    title: '微信转账',
    value: PAY_WEIXIN_ZHUANZ,
    pic: require('@/assets/payments/wechatTrans.png'),
  },
  {
    title: '京东支付',
    value: PAY_JD_PAY,
    pic: require('@/assets/payments/jd.png'),
  },
  {
    title: '云闪付',
    value: PAY_CLOUD_FLASH,
    pic: require('@/assets/payments/cloud.png'),
  },
  {
    title: 'QQ支付',
    value: PAY_QQ,
    pic: require('@/assets/payments/qq.png'),
  },
];


const NOTICE_STATUS = [
  {title: '无', value: 0},
  {title: '全部', value: ALL},
  {title: '进行中', value: 1},
  {title: '已过期', value: 2},
];

const NOTICE_TYPE = [
  {title: '全部', value: ALL},
  {title: '常规消息', value: 1},
  {title: '换银行卡消息', value: 2},
];


//游戏 game id
const AG_REAL = 1;
const AG_FISH = 2;
//118体育
const GAME_SPORTS = 3;
//pt电子
const PT = 4;
//ebet真人
const EBET_REAL = 5;
//彩票双赢
const TICKET = 8;
//棋牌开源
const POKER = 9;

/**
 * 平台设定
 */
const PLATFORM_TYPE = [
  {
    title: 'AG真人',
    label: 'AG真人',
    channelId: 1,
    value: AG_REAL,
  },
  {
    title: 'EBET真人',
    label: 'EBET真人',
    channelId: 2,
    value: EBET_REAL
  },
  {
    title: 'AG捕鱼',
    label: 'AG捕鱼',
    channelId: 1,
    value: AG_FISH
  },
  {
    title: '贝博体育',
    label: '贝博体育',
    channelId: 7,
    value: GAME_SPORTS
  },
  {
    title: 'PT电子',
    label: 'PT电子',
    channelId: 4,
    value: PT,
  },
  {
    title: '彩票双赢',
    label: '彩票双赢',
    channelId: 8,
    value: TICKET,
  },
  // {
  //   title: '棋牌开源',
  //   label: '棋牌开源',
  //   channelId: 9,
  //   value: POKER,
  // },
];

const OFFER_ID = [
  {title: '返水活动', value: 1},
];

const WITHDRAW_EXCEPTION_STATUS = [
  {title: '全部', value: ALL},
  {title: '待处理', value: 1},
  {title: '已处理', value: 2},
  {title: '已拒绝', value: 3},
];

const OFFER_STATUS = [
  {title: '全部', value: ALL},
  {title: '进行中', value: 1},
  {title: '已过期', value: 2},
];

const AD_STATUS = [
  {title: '全部', value: ALL},
  {title: '进行中', value: 1},
  {title: '已过期', value: 2},
];

const REPORT_AGENCY_TYPE = [
  {title: '全部', value: ALL},
  {title: '下级会员', value: 1},
  {title: '下级代理', value: 2},
];

const PLAYER_MONEY_TYPE = [
  {title: '全部', value: ALL},
  {title: '充值额', value: 1},
  {title: '提现额', value: 2},
  {title: '充值手续费', value: 3},
  {title: '提现手续费', value: 4},
  {title: '人工加币', value: 5},
  {title: '人工减币', value: 6},
  {title: '红利', value: 7},
  {title: '返水额', value: 8},
];

const TRANSACTION_TYPE = [
  {title: '全部', value: ALL},
  {title: '转账', value: 1},
  {title: '红利', value: 2},
  {title: '存款', value: 3},
  {title: '提现', value: 4},
  {title: '返水', value: 5},
  {title: '资金调整', value: 6},
];

const TRANSFER_PLATFORMS = [
  {title: '全部', value: ALL},
  {title: '主账户余额', value: 1},
  {title: 'MG', value: 2},
  {title: '沙巴体育', value: 3},
  {title: 'GD真人', value: 4},
  {title: 'BBIN', value: 5},
  {title: 'IM体育', value: 6},
  {title: 'NT电子', value: 7},
  {title: 'KG彩票', value: 8},
  {title: '双鱼彩票', value: 9},
  {title: 'AG', value: 10},
  {title: '沙龙', value: 11}
];

const TRANSFER_STATUS = [
  {title: '全部', value: ALL},
  {title: '转账成功', value: 1},
  {title: '转账失败', value: 2},
  {title: '转账中', value: 3},
];

const BANK_STATUS = [
  {title: '全部', value: ALL},
  {title: '使用中', value: 1},
  {title: '已删除', value: 2},
];

const SPECIAL_ENJOY_STATUS = [
  {title: '已专享', value: 1},
  {title: '已取消', value: 2},
];

const DIGITAL_GAME_TYPE = [
  {title: '电动老虎机', value: 1},
  {title: '经典老虎机', value: 2},
  {title: '刮刮乐', value: 3},
  {title: '棋牌游戏', value: 4},
  {title: '街机游戏', value: 5},
];

const COMMISSION_INVITE_STATUS= [
  {title: '全部', value: ALL},
  {title: '已达标', value: 1},
  {title: '未达标', value: 2},
];

//推广资源
//类型
const EXTENSION_TYPE = [
  {
    name: '全部',
    value: ALL,
  },
  {
    value: 1,
    name: "品牌"
  }, {
    value: 2,
    name: "红利/活动"
  }, {
    value: 3,
    name: "赞助广告"
  }
];
//尺寸
const EXTENSION_SIZE = [
  {
    name: '全部',
    value: ALL,
  },
  {
    value: 1,
    name: "<=100"
  }, {
    value: 2,
    name: "101-200"
  }, {
    value: 3,
    name: "201-300"
  }, {
    value: 4,
    name: "301-400"
  }, {
    value: 5,
    name: "401-500"
  }, {
    value: 6,
    name: "501-600"
  }, {
    value: 7,
    name: "601-700"
  }, {
    value: 8,
    name: "701-800"
  }, {
    value: 9,
    name: "801-900"
  }, {
    value: 10,
    name: "901-1000"
  }, {
    value: 11,
    name: ">=1001"
  }
];

const ONLINE = 1;
const OFFLINE = 2;
/**
 * 在线状态 -1全部，0在线，1不在线
 */
const ONLINE_STATUS = [
  {
    name: '全部',
    value: undefined,
  },
  {
    value: ONLINE,
    name: '在线'
  }, {
    value: OFFLINE,
    name: '离线'
  }
];

/**
 * 在线状态 1二层代理，2三层代理
 */
const PROXY_LEVEL = [
  {
    title: '全部',
    value: undefined,
  },
  {
    value: 1,
    title: "二层"
  }, {
    value: 2,
    title: "三层"
  }
];

/**
 * 0待审核，1一审通过，2一审拒绝，3二审通过，4二审拒绝',
 */
const COMMISSION_STATUS = [
  {
    value: -2,
    title: "正在结算"
  },
  {
    value: -1,
    title: "待最后结算"
  },
  {
    value: 0,
    title: "待审核"
  },
  {
    value: 1,
    title: "一审通过"
  },
  {
    value: 2,
    title: "一审拒绝"
  },
  {
    value: 3,
    title: "二审通过"
  },
  {
    value: 4,
    title: "二审拒绝"
  },
];

const PROXY_PREV = '/gl/report/station';


//上分开启状态
const CREDIT_OPEN = 1;
const CREDIT_CLOSE = 0;

//普通域名
const NORMAL_DOMAIN = 0;


const OPT_TYPES = [

  {
    value : ALL,
    title :  '全部',
  },
  {
    value : 1,
    title : '上分清算-人工操作',
  },{
    value : 2,
    title : '代理上分金额'
  },{
    value : 3,
    title : '已配上分金额'
  },{
    value : 4,
    title : '上分抵扣金额'
  },{
    value : 5,
    title : '上分清算-账户余额'
  }
];

const REPORT_OPT_TYPES = [
  {
    value : ALL,
    title : '全部',
  },
  {
    value : 1,
    title : '上分清算-人工操作清算'
  },
  {
    value : 2,
    title : '代理上分'
  },
  {
    value : 3,
    title : '公司上分'
  },
  {
    value : 4,
    title : '会员上分'
  },
  {
    value :  5,
    title : '上分清算-账户余额清算'
  }
];
export default {
  ONLINE_STATUS,
  ALL,
  CACHE_USERNAME,
  CACHE_TOKEN,
  CACHE_UID,
  CACHE_CLOSE_TODAY_NOTICE,
  CACHE_CLOSE_TODAY_DIALOG,

  SEX,
  COUNT_DOWN_TIME,

  AG_REAL,
  AG_FISH,
  GAME_SPORTS,
  PT,
  EBET_REAL,
  TICKET,
  POKER,
  DIGITAL_GAME_TYPE,
  DIGITAL_TYPE,

  CODE_LOGIN,
  CODE_MOBILE_BIND,
  CODE_MOBILE_UNBIND,
  CODE_CARD_DEL,
  CODE_CARD_BIND,
  CODE_SET_PASS,
  CODE_CASH_SECURITY,
  CODE_LOGIN_SECURITY,
  CODE_CASH,
  CODE_EMAIL_BIND,
  CODE_EMAIL_UNBIND,

  BANK_ZHAOSHANG,
  BANK_GONGSHANG,
  BANK_JIANSHE,
  BANK_NONGYE,
  BANK_ZHONGGUO,
  BANK_JIAOTONG,
  BANK_GUANGFA,
  BANK_GUANGDA,
  BANK_PUFA,
  BANK_MINSHENG,
  BANK_PINGAN,
  BANK_XINGYE,
  BANK_ZHONGXIN,
  BANK_YOUZHENG,
  BANK_HUAXIA,
  BANK_LIST,

  WITHDRAW_PROTECT_OPEN,
  WITHDRAW_PROTECT_CLOSE,

  SECURITY_WITHDARW,
  SECURITY_LOGIN,
  SECURITY_OPEN,
  SECURITY_CLOSE,

  TIME_PERIOD,

  TODAY,
  YESTERDAY,
  THIS_WEEK,
  LAST_WEEK,
  THIS_MONTH,
  LAST_MONTH,

  TRADE_STATUS_SUCCESS,
  TRADE_STATUS_FAILURE,
  TRADE_STATUS_PROCESSING,
  TRADE_STATUS,

  BET_STATUS,

  DEVICE_TYPE,
  NOTICE_CHARGE,
  NOTICE_WITHDRAW,
  
  ACTIVITY_TODAY,
  ACTIVITY_REAL,
  ACTIVITY_SPORT,
  ACTIVITY_TICKET,
  ACTIVITY_DIGITAL,
  ACTIVITY_ARCAEDE,
  ACTIVITY_TYPE,

  ACTIVITY_PENDING,
  ACTIVITY_PROCESSING,
  ACTIVITY_FINISH,

  ANNOUNCEMENT_UNREAD,
  ANNOUNCEMENT_READ,

  DIALOG_NORMAL,
  DIALOG_SIZE_MEDIUM,
  DIALOG_SIZE_LARGE,
  DIALOG_SIZE_TRANSFER,

  DIALOG_BANK_CHANGE,

  AD_HOME,
  AD_REAL,
  AD_TICKET,
  AD_DIGITAL,
  AD_FISH,
  AD_ACTIVITY,
  AD_FINANCE,

  TRADE_TYPE,
  PAYMENT_STATUS,
  PAYEE_BANKS,
  NOTICE_STATUS,
  NOTICE_TYPE,
  PAYMENT_LIST,
  PAY_WANGYIN,
  PAY_ZHIFUBAO,
  PAY_WEIXIN,
  PAY_CREDIT_CARD,
  PAY_QUICK_PAY,
  PAY_SCAN_PAY,
  PAY_QQ_SCAN_PAY,
  PAY_BANKCARD_ZHUANZ,
  PAY_ZHIFUBAO_ZHUANZ,
  PAY_WEIXIN_ZHUANZ,
  PAY_CLOUD_FLASH,
  PAY_QQ,

  PLATFORM_TYPE,
  WITHDRAW_PROCESSING,
  WITHDRAW_AUDIT,
  WITHDRAW_AUDIT_REJECT,
  WITHDRAW_REJECT,
  WITHDRAW_RETURN,
  WITHDRAW_SUCCESS_PENDING,
  WITHDRAWN_SUCCESS,
  WITHDRAWN_FAILED,
  WITHDRAWN_RETURN_REQUEST,

  WITHDRAWN_STATUS,
  WITHDRAW_STATUS_AUDIT_ING,
  WITHDRAW_STATUS_PAYMENT_OUT_ING,
  WITHDRAW_STATUS_SUCCESS,
  WITHDRAW_STATUS_FAILURE,


  WITHDRAW_EXCEPTION_STATUS,

  OFFER_ID,
  OFFER_STATUS,
  AD_STATUS,
  REPORT_AGENCY_TYPE,
  TRANSACTION_TYPE,
  PLAYER_MONEY_TYPE,
  TRANSFER_PLATFORMS,
  TRANSFER_STATUS,
  BANK_STATUS,
  SPECIAL_ENJOY_STATUS,
  COMMISSION_INVITE_STATUS,
  MAINTAIN_STATUS,
  MAINTAIN_STATUS_OPEN,
  MAINTAIN_STATUS_CLOSED,
  MAINTAIN_STATUS_MAINTAINING,

  DIALOG_SIZE_NORMAL,

  EXTENSION_TYPE,
  EXTENSION_SIZE,
  CLIENT_TYPE,
  PROXY_PREV,

  CREDIT_OPEN,
  CREDIT_CLOSE,
  PROXY_LEVEL,
  COMMISSION_STATUS,
  RECHARGE_STATUS,
  WITHDRAW_STATUS,
  WITHDRAW_TYPE,
  ONLINE,
  OFFLINE,
  APP_PROXY,
  NORMAL_DOMAIN,
  OPT_TYPES,
  REPORT_OPT_TYPES
};
